# $Id: PKGBUILD 60024 2011-12-03 12:03:21Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Francois Charette <firmicus@gmx.net>

pkgname=perl-test-nowarnings
pkgver=1.04
pkgrel=1
pkgdesc="Make sure you didn't emit any warnings while testing "
arch=('any')
url="http://search.cpan.org/dist/Test-NoWarnings"
license=('GPL' 'PerlArtistic')
depends=('perl-test-tester')
options=('!emptydirs')
source=(http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Test-NoWarnings-$pkgver.tar.gz)
md5sums=('682ed043f7d3e38f3dfd8745fd21c49a')

build() {
  cd  $srcdir/Test-NoWarnings-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
